package org.apache.sad.core.framework.configuration;

import java.util.Iterator;

public interface ConfigurationManager extends Configurable {

	public static final String DEFAULT_CONFIGURATION_MANGER_BEAN_NAME = "ConfigurationManager";
    public String getProperty(String key, String defaultValue); 
    
    public Iterator<?> getKeys();
    public String[] getStringArray(String name);
    
    public boolean getBoolean(String name, boolean defaultValue);
    public Boolean getBoolean(String name, Boolean defaultValue);
    
    public int getInt(String name, int defaultValue);
    public Integer getInteger(String name, Integer defaultValue);
    
    public long getLong(String name, long defaultValue);
    public Long getLong(String name, Long defaultValue);
    
    public Float getFloat(String name, Float defaultValue);
    public float getFloat(String name, float defaultValue);
    
    public Double getDouble(String name, Double defaultValue);
    public double getDouble(String name, double defaultValue);

}
